package com.lazi.june.web;

import com.lazi.june.web.encrypt.ApiDecryptProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * desc:
 *
 * @author huliqian
 * @since 2025/9/11
 */
@Data
@ConfigurationProperties(prefix = WebProperties.PREFIX)
public class WebProperties {

    public static final String PREFIX = "june.web";

    /**
     * 是否启用版本路由
     */
    private boolean versionApiEnabled = false;

    /**
     * 是否启用自定义Jackson
     */
    private boolean jacksonEnabled = true;

    /**
     * api 加密设置
     */
    private ApiDecryptProperties apiDecrypt;
}
